<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>发布报告</title>
    <script src="../js/jquery.min.js"></script>
    <link rel="stylesheet" href="../../../static/layui/dist/layuiadmin/layui/css/
layui.css" media="all">

</head>
<body style="background-color:#f2f2f2;">


  <div class="layui-bg-gray" style="padding: 10px;">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md12">
        <div class="layui-card">

          <hr class="layui-border-black">
          <div layui-input class="layui-card-body" style="text-align: center;padding-top:20px;" >
            <input type="text" style="width: 80%; font-size: 36px;overflow-y:hidden;text-align: center; background-color:transparent;border:0 ;" maxlength="15";name = 'report_title'; placeholder="请输入标题" readonly="readonly">
            <hr class="layui-border-black">
          <div class="layui-card-body" id='edit-body'>
            <textarea id="text" style="width: 100%;height:inherit; resize:none;border: none;font-size: 24px;overflow-y:hidden"placeholder="请输入内容" maxlength='1500' readonly="readonly"></textarea>
          </div>

          <div class="layui-card-body" >
            <button class="layui-btn" id="backIframe">关闭</button>
          </div>
          
        </div>
      </div>
  
  
<script src="../../../static/layui/dist/layuiadmin/layui/layui.all.js"></script>
<script>



  var $ = layui.jquery
  //获取当前窗口高度
  var document_body = $(document).height()
  //更改编辑器body总高度为窗口高度的百分比
  $('#edit-body').height(document_body*0.8)
  
  $('#backIframe').on('click',function(){
    var index = parent.layer.getFrameIndex(window.name);
    parent.layer.close(index);
  });

</script>
    
</body>
</html>